package com.applet.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName user_activity
 */
@TableName(value ="user_activity")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserActivity extends BaseEntity {

    @Schema(description = "活动id")
    private String activityId;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "是否收藏 (0:未收藏,1:收藏)")
    private Short collect;

    @Schema(description = "是否报名 (0:未报名,1:已报名)")
    private Short isSign;

    private static final long serialVersionUID = 1L;
}